package com.vilicode.service;

import com.vilicode.bean.Page;
import com.vilicode.bean.PostType;

import java.util.List;

public interface PostTypeService {
    public String queryPostTypeNameByPostTypeID(int ptid);
    public Page queryPostByPostTypeID(int ptid, int pageNumber);
    public List<PostType> queryPostTypes();

}
